package com.itheima.annotation;

import javax.annotation.Resource;


import org.springframework.stereotype.Service;

//public interface UserController {
//	public void save();
//}

@Service("userController")
public class UserController {
		@Resource(name = "userService")
		private UserService userService;

		public void save() {
			this.userService.save();
			System.out.println("userController ...save...");
		}
	}
